package com.jiming.webrpc;

public class Result {
	private Status status = Status.fialed;//默认是失败的
	
	private String data = "";
	
	
	
	public Status getStatus() {
		return status;
	}



	public Result setStatus(Status status) {
		this.status = status;
		return this;
	}



	public String getData() {
		return data;
	}



	public Result setData(String data) {
		this.data = data;
		return this;
	}

	public static Result newBuild() {
		return new Result();
	}

	public enum Status{
		success,fialed,remotediscon
	}
}
